package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.Systemdictionary;
import cn.wolfcode.crm.domain.Systemdictionaryitem;
import cn.wolfcode.crm.query.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;


public interface ISystemdictionaryService {
    void saveOrUpdate(Systemdictionary entity);
    void delete(Long id);

    void saveOrUpdateItem(Systemdictionaryitem entity);
    void deleteItem(Long itemId);


    PageInfo<?> queryForList(QueryObject qo);
    PageInfo<?> queryItemForList(QueryObject qo);

    List<Systemdictionaryitem> queryByParentSn(String sn);

    List<Systemdictionaryitem> queryItemForCurriculum();
}
